package org.surthi.app.bank.db.dao;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
import org.surthi.app.bank.db.dvo.Bank;

public class BankDaoImpl extends HibernateDaoSupport implements BankDao {

	public Bank findBank(String bankId) {
		Bank bank = null;
		bank = (Bank) getHibernateTemplate().get(Bank.class, bankId);
		return bank;
	}
	public void saveBank(Bank bank) {
		getHibernateTemplate().save(bank);
	}
}
